[gd_scene load_steps=5 format=2]

[ext_resource path="res://Assets/units-Sheet.png" type="Texture" id=1]
[ext_resource path="res://Unit.tscn" type="PackedScene" id=2]

[sub_resource type="Animation" id=1]
length = 2.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Position2D/Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 0, 1 ]
}

[sub_resource type="Animation" id=2]
resource_name = "idle"
length = 2.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Position2D/Sprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 1,
"values": [ 0, 1 ]
}

[node name="Armored" instance=ExtResource( 2 )]
speed = 8

[node name="AnimationPlayer" parent="." index="0"]
anims/RESET = SubResource( 1 )
anims/idle = SubResource( 2 )

[node name="Sprite" parent="Position2D" index="0"]
texture = ExtResource( 1 )
frame = 1
